# 字符串常用的处理函数
str = "hello world"
# 字符串下标从零开始
# find 找字字符串，没有返回-1
print(str.find("233"))
print(str.replace('l','L',1))
print(str.split(" "))
sep=","
print(sep.join(str))

# 删除字符串的指定字符
# str.strip().lstrip().rstrip()

print(str.title())
print(str.capitalize())
print("they're bill's friends from the UK".title())